$(document).ready(function() {
	
	$("#selectall").click(function() {
        if ($("#selectall").prop("checked") == true) {
            $(".chek_all").prop("checked", true);
        } else {
            $(".chek_all").prop("checked", false);
        }
    });
	
	$(".form_datetime").datepicker({
		format: 'yyyy-mm-dd'
	});
	
	$("#comp_industry").select2({
       placeholder: "Select Company Industry",
	   width: '100%'
    });
	
	$("#comp_type").select2({
       placeholder: "Select Company Type",
	   width: '100%'
    });
	
	$("#comp_client_id").select2({
       placeholder: "Select Client",
	   width: '100%'
    });

});